package cn.yqx.bankshop.order.service.fallback;

import cn.yqx.bankshop.order.service.GoodsService;
import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Service;

@Service
public class GoodsServiceFallback implements GoodsService {

    public JSONObject findById(Long goodId) {
        JSONObject json = new JSONObject() ;
        json.put("error","限流");
        return json;
    }
}
